Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

🪲 [Fix]: Fix Variables being $null - #110

Merged
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
fixVariables
Feb 20, 2025
Merged

🪲 [Fix]: Fix Variables being $null#110
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
fixVariables

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Feb 20, 2025

Copy link
Copy Markdown
Member

Description

This pull request includes a minor change to the Get-PSModuleVariablesToExport.ps1 script. The change involves moving the initialization of the $variablesToExport variable to an earlier point in the script to ensure it is defined before any potential early returns.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant